There isn't a provision to expel a member state, but TEU Post seven gives for the suspension of sure rights. Introduced in the Treaty of Amsterdam, Article 7 outlines that if a member persistently breaches the EU's founding ideas (liberty, democracy, human legal rights and so on, outlined in TEU https://member4d30738.uzblog.net/member-4d-for-dummies-43727230