Much more context needed. Who said it? What is your job role? If you work in a role where accuracy is important and a misunderstanding can be the difference between life or death (medication dosages, pilot, air traffic control, emergency call handler etc) then if people can’t understand you it’s going to be an issue. It’s not discriminatory to point this out if it’s a fact.
If a manager said this to you in a one-to-one setting or developmental review and it was said with the aim of finding ways to help you (arranging English lessons, further training, etc), it’s not discriminatory.
If a customer said it in an off-hand remark, not a formal complaint, such as a customer in a supermarket trying to engage with you whilst they pack their shopping I wouldn’t pay any attention. If it’s become a formal complaint because a misunderstanding led to the wrong items being ordered or something like that then it’s not discriminatory.
It would only be discriminatory if you were treated any differently because of it or denied a promotion or raise because of it.
I”m jot sure if you’re asking a genuine question because you don’t know what discriminatory means or if you’re the type of person to just look for a race issue everywhere, even when there isn’t one.