This is an elaboration of the examples in Mohan's comment (to answer your comment).
In general, integral closedness and UFDness are hard to prove or disprove. But once you put some conditions, they are a couple of standard tools. All three examples mentioned above can be done by this approach.
Assumption: $R$ is a Noetherian domain, which is a quotient of an affine space (over a perfect field) by a single equation.
Serre's criterion for integral closeness:
$R$ is integrally closed if $R$ satisfies $(R_1)$ and $(S_2)$, cf. https://en.wikipedia.org/wiki/Serre%27s_criterion_for_normality.
The condition $(S_2)$ is automatically satisfied. In order to check $(R_1)$, we use the Jacobian criterion. For instance, for $R = \mathbb{Q}[x,y]/(x^2+y^2-1)$, since $(2x,2y)R = R$, $R$ satisfies $(R_1)$.
For the UFD property, we have the following lemma.
A (Noetherian) integrally closed domain $R$ is a UFD if and only if every height 1 prime ideal of $R$ is principal.
For the examples Mohan mentioned, show that the ideal generated by x,z is height 1 but not principal (in both rings). The example of the circle, take the ideal generated by $x, y-1$.