Aviles and Koszmider give an example of a co-Hopfian Banach space here. So, this space $X$ has the property that any continuous linear one-to-one operator on $X$ is an isomorphism in the category of Banach spaces and continuous linear transformations.
Brian M. Scott gave answer here using the fact that shift operators in sequence spaces are one-to-one but not isomorphisms . An example of such an operator is the map sending the sequence $\{x_1, x_2, \ldots \}$ to the sequence $\{ 0, x_1, x_2, \ldots\}.$
Do we know any examples of Hopfian Banach spaces, those $X$ for which any continuous onto map $X \rightarrow X$ is an isomorphism?