U.S. Constitution wrote:... no religious test shall ever be required as a qualification to any office or public trust under the United States.
(That said, if I had my way, we'd have zero Catholics on the Supreme Court. Or in any court, for that matter. Or in the U.S.)