New York Laws
Title 3 - Sanitation
252 - Privacy.

ยง 252. Privacy. In every apartment of three or more rooms in any
tenement erected after April twelfth, nineteen hundred one, there shall
be access to every living room and bedroom and to at least one
compartment or bathroom containing a water-closet without passing
through any bedroom.