Use reasoning to lead to the answer of the following question:
One of the following sentences is nonsensical. Which one is it?\nOptions:\n- Sentence A: "When I go to bed at night, I close the doors and windows."\n- Sentence B: "When I go to bed at night, I open the doors and windows."\n

Sentence B
A burglar can come through an open door.

.

Therefore, the answer is Sentence B