The Lemon test (from Lemon v. Kurtzman - 1971):

A challenged government action is constitutional if it satisfies all three parts of the 3-part test:

(1) it must have a secular purpose; and

(2) a primary effect that neither advances nor inhibits religion; and

(3) it cannot create an excessive government entanglement with religion.