New York does not recognize out-of-state gun licenses, so it is also important to note that a gun registered anywhere outside the State of New York is illegal if brought into New York or New York City without obtaining a state or city license.
Even if a gun is stowed in a locked case and the visitor is merely passing through the state (which has had dire implications for some air travelers), a gun is illegal if not registered in the proper New York state or city jurisdictions. Even possession of an unloaded gun may result in a felony arrest; a gun must be “operable,” but it does not need to be loaded to trigger an arrest.
NY has a tier system from 1 year depending how they charge you and then it goes 7,15 and 25 years.
Since they don't have bail you should be released rather quickly before a trial.