The answer given by @gerw is incorrect. As a counterexample, consider $X=\{1\}\subset\mathbb{R}$ which is closed and convex. Then $X^{\circ}=(-\infty,1]$ and $(X^{\circ})^{\circ}=[0,1]\neq X$.
The correct statement is: $X=(X^{\circ})^{\circ}$ if and only if $X$ is closed and convex with $0\in X$.
$(\Rightarrow)$ This is easy, since $A^{\circ}$ is closed and convex and $0\in A^{\circ}$ for every $A\subset\mathbb{R}^n$.
$(\Leftarrow)$ Clearly $X\subset(X^{\circ})^{\circ}$. Suppose, for contradiction, that there exists some $z\in (X^{\circ})^{\circ}\backslash X$. By the separating hyperplane theorem, there exists $(\alpha,\beta)\in\mathbb{R}^n\times\mathbb{R}$ such that $\alpha^\top z>\beta>\alpha^\top x$ for all $x\in X$. Since $0\in X$, then $\beta>\alpha^\top 0=0$. Let $\nu=\alpha/\beta$. Then $\nu^\top z>1>\nu^\top x$ for all $x\in X$. Therefore, $\nu\in X^{\circ}$ and $z\not\in(X^{\circ})^{\circ}$, which is a contradiction. Hence $X=(X^{\circ})^{\circ}$.
Note that the condition $0\in X$ is crucial in the proof, since it restricts $\beta$ to be positive, so that when we divide the inequality $\alpha^\top z>\beta>\alpha^\top x$ by $\beta$, it does not change direction.