Understanding nanoscale structural distortions in Pb(Zr0.2Ti0.8)O3 by utilizing X-ray nanodiffraction and clustering algorithm analysis.