The integral is equal to the sum of the two standard Type I integrals:
By the substitution u=x2+1, du = 2dx, we see that
So, we calculate
Since this part diverges the whole integral diverges also.