Example: If you're looking for the absolute max deviation from your x axis, set one variable to the max(y) value (positive side), set one variable to the min(y) value (negative side), use the abs() function on each one to get the absolute value of each one, and then compare the two results to see which one is higher.
I'm not expert in LTSpice, so I have no idea if this is useful at all.