Every closed immersion is a finite morphism. Can you give an example of quasi-projective varieties $X\subset Y$ such that inclusion $X\hookrightarrow Y$ is not finite? Same with Y projective?

Thanks!

**Edit:** Sorry this question is very simple, I made a mistake asking the question. For a corrected version, check out this one.