Let $\mathbb{D}^2$ be the closed unit disk, and let $f:\mathbb{D}^2 \to \mathbb{C}$ be a smooth map, which is holomorphic on the open unit disk $\text{int}(\mathbb{D}^2)$.
Suppose that there exists a sequence $z_ n \in \text{int}(\mathbb{D}^2)$, $z_n \to z_0 \in \partial \mathbb{D}^2$ such that $f(z_n)=0$. Is $f$ identically zero on $ \mathbb{D}^2$?
The usual formulation of the identity theorem is for open connected domains; it states that a holomorphic function whose zero set has an accumulation point (inside the open domain) is identically zero.
Note that I assumed that $f$ is smooth on the closed disk. (In a sense it is "holomorphic" at the boundary too, as the condition of being conformal is a closed one).
Edit:
If $f$ could be extend $f$ holomorphically to an open neighbourhood of $\mathbb D^2$, then the answer would be positive, by the usual identity theorem (as the accumulation point would now be in the interior of the new extended domain).
I am not sure if such an extension is always possible. There are certainly continuous examples that cannot be extended: e.g. $ f(z) = \sum_{n=1}^\infty \frac{z^{n!}}{n!}$. (See here for details). However, I don't know any smooth example which cannot be extended.