In the Nick (1960)
In the Nick is a 1960 British comedy film directed by Ken Hughes and starring Anthony Newley, Anne Aubrey, Bernie Winters, James Booth and Harry Andrews. A gang of incompetent criminals are placed in a special type of new prison.
More at Wikipedia.