I'd say it's neither. You can rewrite it like:
XY + aX + bY = c
(X+b)Y + aX - c = 0
Y = (c-aX)/(X+b)

That is not a polynomial. Just call it an 'equation'