The main character Miles Monroe, played by Allen, is being hunted by the police as being subversive to security of the state, and attempts to hide in it, thinking it is a closet.
Another related device, an orb, also appears in this movie.