Turkey blocks noone from leaving, those who were blocked was because of illegal border crossing, otherwise everyone is free to go throught a bordergate, there is no visa neither for Iraq nor Syria.
You telling me Muslims from the west enter Syria just like that to join ISIS