It is a well known contradiction and I think it really is resolved by simply considering them a cultural community of people without needing to define it rigorously.
https://www.thejc.com/lets-talk/i-am-a-secular-jew-and-theres-no-contradiction-in-that-tyuhoq7w