Onir

Perhaps you meant the word "onir"?

Onir is a mental state that is characterized by seeing fantastic images, waking dreams, and the awareness that the entire scene is currently unreal and not reality. Oneiric brain activity is noted in traumatic brain injuries. Unlike hallucinations, which a person perceives as a completely objective reality, onirs differ from reality in their awareness and are separated from the perception of the real world. However, the oneiric phenomenon lacks the same qualities that truly real events possess, such as duration, subjectivity, plausibility, causality, activity, ability to control, etc. Therefore, in dreams, onirs are not meaningful and rarely completed, the scenario of which is easy to predict in advance