Let $X\subseteq\mathbb{C}^n$ and $Y\subseteq\mathbb{C}^m$ be two complex affine varieties (zero sets of systems of polynomials). Suppose that $$f:X\to Y$$ is a polynomial map, or more precisely, it is given explicitly by $$f(x)=(f_1(x),\ldots,f_m(x)),$$ where $f_i:\mathbb{C}^n\to\mathbb{C}$ are polynomials in $n$-variables.
Question: If $f$ is a bijection, is it necessarily an isomorphism of complex affine varieties?