You mean the entrance to the Underdark via the defiled temple? Find the room with the moon puzzle on the floor. It's accessible via the quarters of the Goblin High priest. After solving it, the entrance opens and you'll find yourself in the Selunite Outpost in the Underdark. This is the moon puzzle room, which is something like the inner sanctum of the defiled temple.
![[Linked Image from i.ibb.co]](https://i.ibb.co/CJ9r5L2/BG3-screenshot.jpg)