Efficiency of a simple machine is the ratio of mechanical advantage and speed ratio.
If mechanical advantage = speed ratio then efficiency = 1
Which is impossible for a practical machine due to presence of frictional force which wastes some energy and thus lowers the output