Certainly. Rumor has it that Einstein had at least one or two mistresses that he would visit from time to time. Those visits probably did nothing to improve his personal life, or benefit him in any way except emotionally (and even then, only in the short term; his jaunts probably had long-term emotional consequences). Therefore, those actions were probably illogical.
However, setting that aside for one moment... Imagine someone who most people would classify as "developmentally disabled". (I don't like over-general labels, but it is a relatively specific one in this case.) Now, the million-dollar question is: would it ever be possible for that person to solve a problem of the magnitude Einstein has solved?
There are a lot of people with great analytical skills, but even those people consistently act illogically. It comes with the wetware.