Assuming you can actually take a shit for free, or otherwise, on every lobby in NY.
But he mentions walking by a security guard, so he likely has some plan worked out beforehand.
Maybe he slips the security guard $5 so he can use the john (and surreptitiously inspect the escalators).