According to "New York Vehicle and Traffic Law Section 511", you can be arrested and put in jail for up to 24 hours before seeing judge if you are charged in "Aggravated unlicensed operation of a motor vehicle in the third degree".
Search google for this law and get detail. I think you don't have much problem because your license from Canada should prove that you are not guilty.
"Aggravated unlicensed operation of a motor vehicle in the third
degree is a misdemeanor. When a person is convicted of this offense, the
sentence of the court must be: (i) a fine of not less than two hundred
dollars nor more than five hundred dollars; or (ii) a term of
imprisonment of not more than thirty days; or (iii) both such fine and
imprisonment."
Search google for this law and get detail. I think you don't have much problem because your license from Canada should prove that you are not guilty.
"Aggravated unlicensed operation of a motor vehicle in the third
degree is a misdemeanor. When a person is convicted of this offense, the
sentence of the court must be: (i) a fine of not less than two hundred
dollars nor more than five hundred dollars; or (ii) a term of
imprisonment of not more than thirty days; or (iii) both such fine and
imprisonment."