Criminal trespass is illegally entering into or remaining in a building or structure. This is distinguished from burglary by the fact that no other crime is intended.
In the UK in 1994 it was estimated that over 100,000 people were likely to be living semi-legally on somebody else's property. These include gypsies and squatters.