Is there an instance when a linear equation is not a function?

Not that I can think of. If it is a linear equation, there is one and only one value of the function for every value of the independent variable.