Roslyn The residential building code and the Energy conservation code are the two documents that NYState is following.
502.1.3 Recessed Lighting fixtures.
This is the reference
If you are using an "airseal" or "airlock" type fixture, and you are installing the proper trim as per the labeling, you can install either type of fixture.