More than 250 ISIL recruits are being held in a prison in the northern Kurdish region of northern Iraq.