The Turks want ISiS/ISIL to win.
They used to rule the Caliphate, and have dreams of doing so again.
We need to take a hard look at our supposed ally.
Isn't it more like the Turks want ISIS to defeat the Kurds and to defeat Assad, and then they want NATO to come to Turkey's defense when ISIS turns against them?
Hey, they’re our good NATO buddies.
Not entirely accurate. The Caliphate was long gone by the time of the Ottomans. Turkish people actually come from the Far east and ruled with Mongols much of ASIA and middle east. Mongolia rule practiced religious tolerance. This survived the early Ottoman empire that started in Constantinople. It wasn't until the rulers figured out it was easier to control population with Islam (meaning submission not peace) did the Ottomans implemented Islam on the empire.