Australia's government has confirmed that an Australian has been detained in Iraq after a media report that an Islamic State group commander suspected of masterminding a plot to blow up an airline flight from Sydney last year and an Australian relative were captured.