New mexico constitution
Article II: bill of rights
Section 7

The privilege of the writ of habeas corpus shall never be suspended, unless, in case of rebellion or invasion, the public safety requires it.