Is Nick slang for jail?

Yes - according to Wiktionary, it is UK slang for a police station, or prison.