It sounds simple, but let’s break it down with a few real-world examples:
In short, you may be arrested if you go or stay on somebody else’s land without their consent. Willfully going on or remaining on another person’s property after having been warned by the owner or occupant not to trespass.2
Going onto another persons’ property with the intent to annoy the owner or occupant or to commit a crime there,1 or Also security has been known to rough up people who disturb the peace, become disorderly, abuse personnel or treat security with disrespect. If it's a place you like you may not be able to come back. Even though the casino gives you free drinks, or if you go clubbing and drink, don't let yourself get out of control. However the security guard will turn you over to the police and you will probably be arrested or cited not only for trespass but for possession of narcotics. Remember too that security officers are private and not public law enforcement so if they search you and find contraband they are not subject to the search and seizure laws like the police would be.