Definition from Wiktionary, the free dictionary
Alternative forms 
- (idiomatic) Of a prisoner, mentally unbalanced due to prolonged incarceration.
- By extension, restless, uncomfortable, or impatient due to inactivity or confinement.
- After so many days of rain, the kids started to get a bit stir-crazy.