The $X$ is infinite dimension real inner product space, not restricting it as a Hilbert space.
This question has troubled my friend and me a lot of days. It is obviously true when $X$ is infinite dimension Hilbert space. However, I can't answer this in arbitrary space.
I have thought to find all of the style of infinite dimension space. I thought any space may like $l^2(\alpha) \times \mathbb{R}^{⊕\beta}$, but it's wrong, such as $l^2(\mathbb{N})^{⊕ω}$.
Any useful answer will be appreciated.
Add: where isomorphic maintain inner product. It isn't only as a algebraic isomorphic. $X \times \mathbb{R}$ is a inner product space, which inner product is $(x,r) \cdot (y,s) = x \cdot y + rs$.