New York State law:
Section 1234. Riding on roadways, shoulders, bicycle lanes and bicycle paths.
(a) Upon all roadways, any bicycle shall be driven either on a usable bicycle lane or, if a usable bicycle lane has not been provided, near the right-hand curb or edge of the roadway or upon a usable right- hand shoulder in such a manner as to prevent undue interference with the flow of traffic except when preparing for a left turn