From Torncity WIKI - The official help and support guide

City Jail is where you go when you get caught by the police committing a crime. Going to jail by failing a Crime causes you to lose crime experience. When in the city jail, you will also not be able to visit the City, your homepage or the Hospital, other things such as your Faction and mailbox are still open though.