There is a well known method to solve equations of the type
$$x^4+ax^3+bx^2+ax+1=0 \tag{1}$$
If $x \ne 0$ we can transform it to
$$x^2(x^2+\frac{1}{x^2})+ax^2(x+\frac{1}{x})+bx^2=0 \tag{2}$$
Now we observe that
$$(x+\frac{1}{x})^2=x^2+\frac{1}{x^2}+2$$
Using the substitution $y=x+\frac{1}{x}$ from $(2)$ a quadratic equation of $y$ can be derived that is easier to analyze than $(1)$.
The quadratic equation in $y$ is
$$y^2+ay+b-2=0 \tag{3}$$
$x=1$ is a solution of $(1)$ therefore $b=-2a-2$.
Substituing this in $(3)$ gives
$$y^2+ay-2a-4=0$$
This equation has two roots $y=2$ and $y=-a-2$. So the much simpler question to solve is when does have
$$x+\frac{1}{x}=-a-2 \tag{4}$$
a complex root that is not real.
A simpler method:
If $x=1$ is a solution we get $b=−2a−2$ by substituting $x$ in $(1)$ and therefore
$$ x^4+ax^3-2(a+1)x^2+ax+1=0$$
Therefore we can divide this polynomial by $x-1$ and get
$$x^3+\left(a+1\right)\,x^2+\left(-a-1\right)\,x-1$$
$x=-1$ is a solution of this polynomial to and so finally $(1)$ can be transformed to
$$(x-1)^2(x^2+(a+2)x+1)=0$$
So we have to investigate
$$x^2+(a+2)x+1=0$$
which is equivalent to $(4)$