Babies under 1 can have cows milk. You are just not meant to substitute it for breast milk/formula. Formula is cows milk!
Actually formula is cows milk based. Its made with proteins from cows milk but not completely cows milk so that babies can digest it easily. Its definitely not the same as cows milk and babies under one should not have cows milk.