1. Short title This Act may be cited as the Terrorist Deportation Act of 2017 . 2. Inadmissibility of aliens identified in terrorist screening database Section 212(a)(3)(B)(i) of the Immigration and Nationality Act ( 8 U.S.C. 1182(a)(3)(B)(i) ) is amended— (1) in subclause (VIII), by striking or at the end; (2) by redesignating subclause (IX) as subclause (X); and (3) by inserting after subclause (VIII) the following: (IX) is identified in the terrorist screening database (as such term is defined in section 2101(10) of the Homeland Security Act of 2002 ( 6 U.S.C. 621(10) )), except for an alien lawfully admitted for permanent residence (as defined in section 101(a)(20)); or . 3. Deportability of aliens identified in terrorist screening database Section 237(a)(4)(B) of the Immigration and Nationality Act ( 8 U.S.C. 1227(a)(4)(B) ) is amended by inserting before the period at the end the following , except that an alien lawfully admitted for permanent residence (as defined in section 101(a)(20)) is not deportable for being described in subparagraph (B)(i)(IX) of section 212(a)(3) . 4. Waivers of ground of inadmissibility for aliens identified in terrorist screening database Section 212(d)(3) of the Immigration and Nationality Act ( 8 U.S.C. 1182(d)(3) ) is amended— (1) in each of clauses (i) and (ii) of subparagraph (A), by inserting and other than paragraph (3)(B)(i)(IX) of such subsection except as provided in subparagraph (C) after of such subsection ; (2) in subparagraph (B)(i), by inserting , or who is within the scope of subsection (a)(3)(B)(i)(IX) except as provided in subparagraph (C), after (a)(3)(B)(i)(II) of this section,