They would be effected by it as they don’t have Flight or Pathfinder, unless they had those in addition to Ghostly or Incorporeal.
Incorporeal states that a model treat all non-impassable terrain as open terrain while advancing. It can move through Obstructions and other models…
Ghostly has similar wording.
So, they will be effected by the Barrier as treating it as open terrain won’t do anything.