What you're square rooting has to be greater than or equal to zero: $\frac{x^2-2x+5}{x^3-1} \geq 0$. And you require the restriction $x^3 - 1 \neq 0$.