It is known that the Cantor set minus a point is (up to homeomorphisms) the unique zero-dimensional separable metric space without isolated points that is locally compact and not compact. So take as $X$ the Cantor set and as $Y$ the Cantor set minus a point. See also [this][1] math.stackexchange question. [1]: http://math.stackexchange.com/questions/57260/subsets-of-the-cantor-set