Boston is extremely difficult to find public bathrooms especially around the Common/open drug marketplace.
This is not just applicable to using the restroom as a non-paying customer. You can pretty much go anywhere if you just don't look guilty of doing something your not meant to be doing. They also say carrying a clipboard and looking in a hurry increases your "getting away" with it, whatever "it" may be.