It is definitely federally illegal on the grounds of sanctions [1], if not treason, to knowingly provide service to the Islamic State. Twitter's hands are tied.
[1]: https://sanctionssearch.ofac.treas.gov/Details.aspx?id=8759
[1]: https://sanctionssearch.ofac.treas.gov/Details.aspx?id=8759