Not necessarily. Even if no profit is made, using copyrighted material without permission can still be considered infringement.