N.J. Stat. § 59:6-6 : — CLAIMS AGAINST PUBLIC ENTITIESChapter 59:6 —6 - Determinations in accordance with applicable enactments

a. Neither a public entity nor a public employee is liable for any injury resulting from determining in accordance with any applicable enactment:
(1) whether to confine a person for mental illness or drug dependence;
(2) the terms and conditions of confinement for mental illness or drug dependence;
(3) whether to parole, grant a leave of absence to, or release a person from confinement for mental illness or drug dependence.

N.J.S. § 59:6-6

L.1972, c.45, s.59:6-6.