The movie's finale (both) is not what happen in the book.
In the book Kelvin accepts that he's standing in front of a godlike creature that the human mind will never understand, he surrender, lands on the planet's surface hoping that "time of cruel miracles was not past".
The acceptance is not of the illusion itself, but of the fact that we would never understand the whys, the rational thinking and scientific positivism have become the real illusion, all is lost, Solaris won, there is only the hope that Solaris will keep making "cruel miracles".
Right or wrong perhaps the illusion is enough / or all we really know.