N.J. Const. art. I, ¶ 14
The privilege of the writ of habeas corpus shall not be suspended, unless in case of rebellion or invasion the public safety may require it.