Kernel of $T$ is closed iff $T$ is continuous I know that for a Banach space $X$ and a linear functional $T:X\rightarrow\mathbb{R}$ in its dual $X'$ the following holds:
\begin{align}T \text{ is continuous } \iff \text{Ker }T \text{ is closed}\end{align}
which probably holds for general operators $T:X\rightarrow Y$ with finite-dimensional Banach space $Y$. I think the argument doesn't work for infinite-dimensional Banach spaces $Y$. Is the statement still correct? I.e. continuity of course still implies the closedness of the kernel for general Banach spaces $X,Y$ but is the converse still true?

The result is false if $Y$ is infinite dimensional. Consider $X=\ell^2$ and $Y=\ell^1$ they are not isomorphic as Banach spaces (the dual of $\ell^1$ is not separable). However they both have a Hamel basis of size continuum therefore they are isomorphic as vector spaces. The kernel of the vector space isomorphism is closed (since is the zero vector) but it can not be continuous. 
