Freedom of thought is the freedom of an individual to hold or consider a fact, viewpoint, or thought, independent of others' viewpoints. From Wikipedia
The judge ruled the measure burdened religious exercise under the First Amendment.