Here is a somewhat general example in the affine case. First, it is elementary, but not obvious, the following intrinsic condition. Let $X=\mathrm{Spec} A$ be an affine variety (reduced, irreducible). Then $X$ is a complete intersection in some embedding in affine space if and only if $\Omega_X^1$ has a free resolution of length one over $A$. This implies that if $X,Y$ are affine varieties with $Y$ a complete intersection (in some embedding), then $X\times Y$ is a complete intersection (again in some embedding) if and only if $X$ is. Thus to construct an example as you need, suffices to find a smooth example, since then I can take its product with a singular hypersurface to get a singular example. The simplest one such would be to take $X$ to be the complement of an irreducible hypersurface of degree $d$ in a projective space of dimension $n$ with $d$ not dividing $n+1$. If such an $X$ was a complete intersection in some affine space, then as mentioned, $\Omega_X^1$ will have a free resolution of length 1 over $A$, in particular since $\Omega^1_X$ is $A$-projective, it will be stably free. But stably free modules have determinant trivial, while in the above case determinant is $\mathcal{O}_X(-n-1)$ which is not trivial since $\mathrm{Pic} X=\mathbb{Z}\mathcal{O}_X(1)/d$ and $d$ does not divide $n+1$.