Taken from the New Saint Joseph Baltimore Catechism No. 2.
Notice the difference. The catechism makes a distinction between he who separates HIMSELF from the Church from he who is separated from the Church by LAW AUTHORITY.
The public sin of manifest formal heresy per se (i.e., by its very nature) separates the heretic from the Church.