N.Y. Executive Law § 170-K
1. For purposes of this section, the following definitions shall apply:
2.
(a) No local government, law enforcement agency, correctional facility, local correctional facility, juvenile detention facility, or facility for youth placed with or committed to the office of children and family services, or agent thereof may, enter into, modify, renew, remain in, or extend:
(b) Nothing in this subdivision shall be construed to preclude contracts or agreements by:
3. No local government, law enforcement agency, correctional facility, local correctional facility, juvenile detention facility, or facility for youth placed with or committed to the office of children and family services or agent thereof shall:
4. Notwithstanding any provision of state or local law to the contrary relating to the time in which a decision shall be rendered on an application for or an appeal relating to a permit, certificate, or variance, no local government shall approve a zoning variance or issue a permit or certificate for the construction or the reuse of existing buildings or structures by any private entity for use as an immigration detention facility unless the local government, at a minimum, and in addition to any other requirements: