One in five people have experienced sleep paralysis, that delightful state where you wake up but your body doesn't, and your brain decides to fill the void with terror. Harvard neuroscientist Baland Jalal has dedicated his career to studying this phenomenon, presumably because someone needed to stare into the abyss so the rest of us could sleep a little easier. Or not, as the case may be.

Jalal is contemplating the unfathomable depths of the human brain. "It can contemplate itself, and vast galaxies, spirits, souls, poetry, Einstein," he says. "Yet you hold it in your hand and it seems so trivial." Which is a humbling thought, until you remember that same brain also occasionally convinces you that a shadowy figure is sitting on your chest at 3am. Sleep paralysis, Jalal explains, is a brain glitch that can fill its host with terror so palpable it can cause lasting trauma. "What you get very close to in sleep paralysis," he says, "is that subjective world of the mind. It's very hard to put into words." He should know - he's spent 271 pages trying to do so.

His new book, The Phantom Mind, argues that by exploring the borderlands of sleep, where sleep paralysis occurs, we can delve deeper into how all aspects of our minds work. So next time you're frozen in bed, convinced a demon is lurking, just remember: you're not just terrified, you're contributing to science. Jalal may wear a lab coat and examine brain regions and neurochemicals, but studying the mechanics, he says, doesn't damp down the mysteries of consciousness. "For me, actually, I've become more spiritual and interested in the world of mystery and, I want to say supernatural, but dimensions that are intangible, by studying something like sleep paralysis." So there you have it: sleep paralysis - the gateway drug to spirituality. Sweet dreams.