Given any infinite dimensional Hilbert space $X$, the linear span, $Y$, of any orthogonal basis for $X$ is an incomplete inner product subspace of $X$. The orthogonal basis for $X$ is an orthogonal basis and a Hamel basis for $Y$.
What is an example of an incomplete inner product space with an orthonormal basis that is not a Hamel basis?