Four congruent isosceles triangles are constructed with their bases on the sides of a square of side length 1. The sum of the areas of the four isosceles triangles is the same as the area of the square. What is the length of one of the two congruent sides of one of the isosceles triangles?