Habeas corpus

N.Y. Constitution § A1S4, under Bill of Rights.

N.Y. Constitution § A1S4

§ 4. The privilege of a writ or order of habeas corpus shall not be suspended, unless, in case of rebellion or invasion, the public safety requires it.