That’s a strong claim you’ve got there. It seems humans do possess some amount of magnetoreception, there’s even a suggested mechanism. It might be jammed by certain radiofrequencies, although I don’t know if they are still in use. Some other mammals have been shown to sense magnetism too. Personally, when I’m in a bed, especially a new one, I feel my rotation relative to my normal bed. It isn’t very precise and it’s difficult to test, so I can’t be entirely sure, but that’s how it feels. I don’t know about any studies relating magnetism and sleep. I know there historically were people who claimed it matters to them, but I think that unless you already know that it matter to you, it probably doesn’t. I’d say that much more important is darkness. Also, I heard people feel better with feet towards the door, but I don’t know if it’s proven in any way.