Now for those that don't know. Mindflayers are one of the very few IP protected Monster designs that D&D has, one of the others is the Displacer Beast for example.
These IP designs that TSR and then later on Wizards of the Coast are very protective of for obvious reasons. Both companies would absolutely threaten any company that used any of their 'protected IP designs' with Cease and Desists (which happened to Heroforge when they had the ability to use Mindflayer like heads during their early days) or lawsuits should it come to that.
The one major exception to this is the topic header, Final Fantasy. The very first game had two very obvious DnD monster designs. One of which got changed outside of Japan. The Beholder and the Mindflayer. The Beholder got a sprite design change and a rename, the Mindflayer did not.
So yes, it's in the game, it not only looks like a Mindflayer it is called a Mindflayer in the English translation and it went by completely unnoticed, which is unusual because TSR (well Gary Gygax) would sue companies at the drop of a hat for things like that. So...the Mindflayer as it is has kept appearing in Final Fantasy ever since. It's always called a Mindflayer, it always looks like a Mindflayer.
Now I've asked people who have worked at both TSR and WotC (back when the original designer of 3.0/3.5e and the OGL was doing the rounds of the Battle Zoo podcast during the OGL scandal there was an "Audience Questions" segment) and as far as I can tell the best answer I've gotten is that since TSR didn't notice it originally, it's now waaaaay too late to do anything about it.
Final Fantasy has been getting away with it for over 30 years now and I get the feeling that if WotC did try to do something about it, it opens them up to losing in court against a company that has its own high paid corporate lawyers and one of their few IP protected monster designs being 'genericed' (basically it's so generic that it loses IP protection which...lets be honest, the Mindflayer design kind of is).