"Don't go to those parts of town."
I'd have to say that this is probably the best advice on this thread.
That said, the penalties vary from locality to locality. It might be a misdemeanor, or it could be a felony that will buy you serious jail time.
The more I think about this, the more uncomfortable I am with it being discussed here as it seems to be an exercise in planning to break the law.