It must depend on a lot on the library, which must depend a lot on the city. I have read of cities in New Jersey winding up in litigation over trying to push out the homeless essentially camping there. I believe that a co-worker used to complain of the homeless crowding the main DC library.