Plot twist he's just inside that weird space anomaly "lifetime dream"
Edit: I'm glad at least 5 people were able to translate "weird space anomaly lifetime dream" into the right episode of TNG cause I was high as balls when I wrote this and couldn't find what episode it was lol