N.Y. Criminal Procedure Law § 120.80
4. In order to effect the arrest, the police officer may, under circumstances and in the manner prescribed in this subdivision, enter any premises in which he reasonably believes the defendant to be present; provided, however, that where the premises in which the officer reasonably believes the defendant to be present is the dwelling of a third party who is not the subject of the arrest warrant, the officer shall proceed in the manner specified in article 690 of this chapter. Before such entry, he must give, or make reasonable effort to give, notice of his authority and purpose to an occupant thereof, unless there is reasonable cause to believe that the giving of such notice will: