While margarine can be used as a substitute, the flavor and texture of the crust may be slightly different. Butter is preferred for its rich flavor and superior baking properties.