N.Y. Comp. Codes R. & Regs. tit. 14, § 527.12
(d) In cases where a restriction is placed on incoming and/or outgoing mail in accordance with section 527.11(c)(2) of this Part, such mail may be withheld from the resident during the time the restriction is in place, or may be opened by a member of the treatment team in the presence of the resident. In no case may a staff member other than a member of the treatment team open such packages or letters, unless there exists an overriding compelling safety or security concern. In such cases, the reason why a treatment team member did not open a package or document, and a description of how the matter was handled (e.g., in consultation with the United States Postal Service, or other appropriate security intervention) must be appropriately documented in accordance with facility procedure.
(e) Appeals.
Residents whose rights have been restricted in accordance with this section shall be notified of their right to appeal such decision in accordance with section 27.8 of this Title.