From the teachings it would appear that they would be reborn due to their habitual Kamma, if they haven't got any thoughts or aren't aware at that time. That is how I would understand this, that the forces of habitual Kamma would guide them at that time rather than the thoughts at the moment of death.