It's more an active ability than a passive ability. If Storm is aware that she is facing a telepath, she can put up an electrical trap around her brain that shocks any telepath that tries to enter her mind.
It's quite ingenious when you think about it as it plays off her immunity to electricity/lightning.