The predominant d-wave pairing symmetry in high-temperature superconductors allows for a variety of current-phase relations in Josephson junctions, which is to a certain degree fabrication controlled. In this Letter, we report on direct experimental observations of the effects of a nonsinusoidal current-phase dependence in YBCO dc SQUIDs, which agree with the theoretical description of the system.