Are you sure? I've always taken it to mean that the person became confused. "My mind started swimming" - I was confused, I didn't know what I was thinking about; there were too many thoughts in my head to deal with ...
"When I heard that Peter had been arrested for murder, my mind started swimming."