Immigration Dept detains Turkish writer