$L^2(\mathbb{R})$ and $L^2(\mathbb{R}^2)$ are isometrically isomorphic because both are infinite-dimensional separable Hilbert spaces.
If a Hilbert space $H$ is $L^2(\mathbb{R})$ or $L^2(\mathbb{R}^2)$, how do you tell them apart without checking the domain of their elements?
For example, there is a bijection between $\mathbb{R}$ and $\mathbb{R}^2$, so they are set-theoretically isomorphic, but we can tell them by their topology.