It's Kind of a Funny Story (2010)
Craig is a high-school junior, in the gifted program, infatuated with his best friend's girl. When he realizes he's suicidal, he checks himself into the psychiatric ward of a hospital, thinking they'll do an observation,