Under the Incorporation Doctrine, which applies the protections of the Bill of Rights to the states through the Fourteenth Amendment, the states cannot establish a state church. Therefore, the action that would be illegal for a state to do under the Incorporation Doctrine is:
establish a state church