You have worked **with** company X.

You have maybe* worked **for** company X.

But you certainly haven't **been employed by** company X.

------------

If it's a simple yes/no answer then the answer is no. If they give you space for a more lengthy response, feel free to mention the collaboration.

-------------

\* Depending on how different people interpret the word 'for' as it relates to your consulting relationship.