The state Senate approved the measure 32-0 on Monday. It overwhelmingly passed the House 90-2 earlier this month.
Under the proposal, a student could express beliefs about religion in homework, artwork and other written and oral assignments free from discrimination based on the religious content.
Sponsors say the legislation was proposed after a 10-year-old student was given an assignment to write about the person she most admires and she chose God. The teacher asked her to choose another subject.
The legislation would also allow a student to organize student prayer groups and other religious gatherings to the same degree that students are permitted to organize non-curricular activities and groups.