Earlier quoted context omitted.
Do you have evidence that Erdogan is mentally ill? This is a critique commonly made toward political leaders we disagree with. Notably, Saddam was seriously considered mentally ill by many in the US, which helped Americans view him (and his people) as less than human.
Ah, ok, so that is the only part of all I said that you can pinpoint it's not accurate. Very well, I agree that Erdogan being half mad (so mentally ill from your interpretation) is not easily proved. His speeches and the construction of the new palace (and the reasons given for it: https://www.yahoo.com/news/cockroaches-made-want-palace-says... ) indicate that he shouldn't be totally sane. But I agree it's something…
ISIS is opposed to US intervention in the region because it views such intervention as harming Islamic solidarity. I do not think that (aside from some demand for Erdogan's loyalty to the US) that being supportive of such a movement in the region is necessarily a bad thing.
Of course, the tactics used by ISIS leave a lot to be desired, but so do the tactics used by the US in fighting ISIS, so I am not necessarily prepared to declare ISIS unconditionally morally in the wrong.