Things like this are completely up to the DM. I'd simply rule that one of the halves would keep the characters intelligence and personality. The other one would be a mindless version of the original character.