Yvette Nicole Brown

Community had a huge test Thursday — and it passed.

Facing off against both American Idol and The Big Bang Theory for the first time since its return, the NBC comedy held steady with 3.6 million viewers and a 1.7 in the adults 18-to-49 demographic. It is Community's second-highest rating since Sept. 29.

Who went home on Idol?

Big Bang, which featured Leonard Nimoy as Spock, grabbed 13.6 million viewers and a 4.5 — its lowest rating all season. It was still the night's top-rated show, besting Idol (15.3 million, 4.2). Returning from a three-month hiatus, Rules of Engagement pulled in 8.8 million viewers and a 2.8, up a tenth from its last new episode. Person of Interest (14.4 million, 3.3) and The Mentalist (13.5 million, 2.7), which returned from three-week breaks, were down slightly.

Missing dropped 12 percent to 7.7 million viewers and a 1.4, while Touch (9.1 million, 2.8) slipped 15 percent.

8 p.m.
CBS:
The Big Bang Theory 13.6 million (4.5); Rules of Engagement 8.8 million (2.8)
ABC: Missing 7.7 million (1.4)
Fox: American Idol 15.3 million (4.2)
NBC: Community 3.6 million (1.7); 30 Rock 3.2 million (1.5)
CW: The Vampire Diaries 2.4 million (1.1)

9 p.m.
CBS:
Person of Interest 14.4 million (3.3)
ABC: Grey's Anatomy (R) 4.2 million (1.2)
Fox: Touch 9.1 million (2.8)
NBC: The Office (R) 2.3 million (1.2); Up All Night 2.9 million (1.3)
CW: The Secret Circle 1.3 million (0.6)

10 p.m.
CBS:
The Mentalist 13.5 million (2.7)
ABC: Private Practice (R) 2.8 million (0.9)
NBC: Awake 3.1 million (1.0)