Indeed, but he didn't win the popular vote; the American system overweights the inhabitants of the flyover states, and there are some very strange people there.
It picked the wrong sort of "TURKEY". If the word hadn't been in all caps, maybe the machine would have been able to tell the difference thanks to capitalization of the initial letter.