In a non-ordinary state of consciousness, especially one in which one is removed from physical reality; in a trance; out of it;
out to lunch; dreaming while awake. Probably derived from 'The Twilight Zone', a TV program dealing with fantasy, science fiction,
the occult,
etc. Also 'zoned out', 'zoning'.