1. This is the place where he was born.

2. This is the place he was born.
3. This is where he was born.
4. This is that he was born.
5. This is in which he was born.
====================
Which ones are ungrammatical and why is that?

Only 1, 2, and 3 are correct.