Basically giving more weight to expectations and beliefs than sensory information = hallucinations. Go figure! But now there's neuroscience!
Paper: http://science.sciencemag.org/content/357/6351/596
Sciencemag coverage: http://www.sciencemag.org/news/2017/08/how-your-mind-protects-you-against-hallucinations