Squids that are summoned (in water) with {NoAI:1b} are rotating. Giving {NoAI:1b} after spawning does not prevent squids from moving. They seem to swim into corners then.
After reloading the world they are spinning on spot instead of swimming into one direction.
Related issues
Comments

NoAI = WAI
https://bugs.mojang.com/browse/MC-67667?focusedCommentId=189630&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-189630