There are really a lot of things that can cause this type of behavior. Overheating is one, another is chemical poisoning. This one I learned the hard way. Did you know Lysol can cause this type of neurological disorder? I had some Lysol handy wipes in the snake room a few years ago I used for spot cleaing. Within days I had a couple of snakes start doing that head twisting thing. (I didn't put two-and-two together until later).I took the first one to the vet, and a day or two later wound up "sacraficing" him, then driving his body 2 hours to a vet research/teaching college to get the IBD tests done on his freshly expired organs. Turns out it was not IBD. As they explained, if the desease had progressed to the point of causing this kind of nuerological damage, inclusion bodies would have been evident. It was also odd that the behavior hadn't "progressed", just appeared relatively overnight. In the mean time I did some research on the internet and discovered a site that explained that Lysol was toxic to some reptiles. I had quaratined the other snake in a serperate room and began feeding small but frequent meals, about 1/4 the normal size and about twice a week, and changed water daily. My idea was to get him to eat and drink as much as possible in order to "flush" his system of any chemicals. It worked, or at least it didn't seem to hurt. After a couple of months of slow improvement, he returned to complete normalcy. Today he is completely normal.
So, in short, I think many people are very afraid of IBD and when faced with uncertainty, do as many humans do, jump to the worst case conclusion. I was one of those people and wound up "sacraficing" a sweet animal in attempt to rule out IBD. I wish I hadn't done that, but at the time, I was so freaked out I thought it was a reasonable thing to do in order to try to save the rest of my collection.
My advise? Quarantine, monitor, look around for other things that could be the source. By all means,get some qualified vet participation if you have access, but don't assume they are all-knowing, generally, they are not. Give it some time and attention. And just in case, for the sake of your other animals and other hobbyists, practice strict quarantine. During the time I was working through my issues, my collection was completely locked down, nothing in or out and no sharing of cages, water bowls, food items, etc. Actually, that kinda stuck with me. Out side of breeding season, I still practice "separation" of individuals and their cages, furniture, bowls, food, etc.
Sorry for the long drawn-out saga, but the good news is that none of my snakes have had the head twisties since!
Best of luck!
Mark
-----
uncommonboa.com