SEGMENT REPORTING AND GEOGRAPHIC INFORMATION (Tables)
   | 
9 Months Ended | 
Mar. 31, 2024  | 
| Segment Reporting [Abstract] | 
 
 | 
| Schedule of Results for Reportable Segments | 
 The following is a summary of results for each of our three reportable segments for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Three Months Ended March 31, | 
 | 
Nine Months Ended March 31, | 
 
| (In thousands) | 
2024 | 
 | 
2023 | 
 | 
2024 | 
 | 
2023 | 
 
| Semiconductor Process Control: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues | 
$ | 
2,096,005  | 
 | 
 | 
$ | 
2,171,557  | 
 | 
 | 
$ | 
6,425,562  | 
 | 
 | 
$ | 
7,226,711  | 
 | 
 
| Segment gross profit | 
1,343,467  | 
 | 
 | 
1,367,886  | 
 | 
 | 
4,148,335  | 
 | 
 | 
4,622,905  | 
 | 
 
| Specialty Semiconductor Process: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues | 
130,649  | 
 | 
 | 
128,438  | 
 | 
 | 
407,433  | 
 | 
 | 
414,390  | 
 | 
 
| Segment gross profit | 
69,280  | 
 | 
 | 
65,328  | 
 | 
 | 
219,859  | 
 | 
 | 
216,408  | 
 | 
 
| PCB, Display and Component Inspection: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues | 
133,399  | 
 | 
 | 
131,923  | 
 | 
 | 
412,474  | 
 | 
 | 
502,627  | 
 | 
 
| Segment gross profit | 
(949) | 
 | 
 | 
43,361  | 
 | 
 | 
96,036  | 
 | 
 | 
182,899  | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Totals: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues for reportable segments | 
$ | 
2,360,053  | 
 | 
 | 
$ | 
2,431,918  | 
 | 
 | 
$ | 
7,245,469  | 
 | 
 | 
$ | 
8,143,728  | 
 | 
 
| Segment gross profit | 
$ | 
1,411,798  | 
 | 
 | 
$ | 
1,476,575  | 
 | 
 | 
$ | 
4,464,230  | 
 | 
 | 
$ | 
5,022,212  | 
 | 
 
  
 | 
| Schedule of Reconciliation of Total Reportable Segments Revenue to Total Revenue | 
 The following table reconciles total reportable segment revenues to total revenues for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Three Months Ended March 31, | 
 | 
Nine Months Ended March 31, | 
 
| (In thousands) | 
2024 | 
 | 
2023 | 
 | 
2024 | 
 | 
2023 | 
 
| Total revenues for reportable segments | 
$ | 
2,360,053  | 
 | 
 | 
$ | 
2,431,918  | 
 | 
 | 
$ | 
7,245,469  | 
 | 
 | 
$ | 
8,143,728  | 
 | 
 
| Corporate allocations and effects of changes in foreign currency exchange rates | 
(223) | 
 | 
 | 
690  | 
 | 
 | 
(1,957) | 
 | 
 | 
(2,809) | 
 | 
 
| Total revenues | 
$ | 
2,359,830  | 
 | 
 | 
$ | 
2,432,608  | 
 | 
 | 
$ | 
7,243,512  | 
 | 
 | 
$ | 
8,140,919  | 
 | 
 
  
 | 
| Schedule of Reconciliation of Total Segment Gross Profit to Income Before Income Taxes | 
 The following table reconciles total segment gross profit to income before income taxes for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Three Months Ended March 31, | 
 | 
Nine Months Ended March 31, | 
 
| (In thousands) | 
2024 | 
 | 
2023 | 
 | 
2024 | 
 | 
2023 | 
 
| Total segment gross profit | 
$ | 
1,411,798  | 
 | 
 | 
$ | 
1,476,575  | 
 | 
 | 
$ | 
4,464,230  | 
 | 
 | 
$ | 
5,022,212  | 
 | 
 
Acquisition-related charges, corporate allocations and effects of changes in foreign currency exchange rates(1)
  | 
45,853  | 
 | 
 | 
49,313  | 
 | 
 | 
138,240  | 
 | 
 | 
136,651  | 
 | 
 
| R&D | 
321,590  | 
 | 
 | 
328,276  | 
 | 
 | 
953,222  | 
 | 
 | 
979,617  | 
 | 
 
| SG&A | 
237,514  | 
 | 
 | 
238,393  | 
 | 
 | 
714,403  | 
 | 
 | 
735,469  | 
 | 
 
| Impairment of goodwill and purchased intangible assets | 
70,474  | 
 | 
 | 
—  | 
 | 
 | 
289,474  | 
 | 
 | 
—  | 
 | 
 
| Interest expense | 
79,981  | 
 | 
 | 
74,774  | 
 | 
 | 
228,417  | 
 | 
 | 
223,449  | 
 | 
 
| Loss on extinguishment of debt | 
—  | 
 | 
 | 
—  | 
 | 
 | 
—  | 
 | 
 | 
13,286  | 
 | 
 
| Other expense (income), net | 
(45,622) | 
 | 
 | 
(14,864) | 
 | 
 | 
(104,515) | 
 | 
 | 
(79,944) | 
 | 
 
| Income before income taxes | 
$ | 
702,008  | 
 | 
 | 
$ | 
800,683  | 
 | 
 | 
$ | 
2,244,989  | 
 | 
 | 
$ | 
3,013,684  | 
 | 
 
  
__________________ 
(1)Acquisition-related charges primarily include amortization of intangible assets and other acquisition-related costs classified or presented as part of costs of revenues.
 | 
| Schedule of Revenues by Geographic Region | 
 The following is a summary of revenues by geographic region, based on ship-to location, for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| (Dollar amounts in thousands) | 
Three Months Ended March 31, | 
 | 
Nine Months Ended March 31, | 
 
| 2024 | 
 | 
2023 | 
 | 
2024 | 
 | 
2023 | 
 
| Revenues: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| China | 
$ | 
996,885  | 
 | 
 | 
42  | 
% | 
 | 
$ | 
635,018  | 
 | 
 | 
26  | 
% | 
 | 
$ | 
3,050,609  | 
 | 
 | 
42  | 
% | 
 | 
$ | 
2,156,380  | 
 | 
 | 
26  | 
% | 
 
| Taiwan | 
433,916  | 
 | 
 | 
18  | 
% | 
 | 
478,855  | 
 | 
 | 
20  | 
% | 
 | 
1,214,518  | 
 | 
 | 
17  | 
% | 
 | 
1,996,188  | 
 | 
 | 
24  | 
% | 
 
| Japan | 
267,045  | 
 | 
 | 
11  | 
% | 
 | 
215,531  | 
 | 
 | 
9  | 
% | 
 | 
792,179  | 
 | 
 | 
11  | 
% | 
 | 
702,986  | 
 | 
 | 
9  | 
% | 
 
| North America | 
246,993  | 
 | 
 | 
10  | 
% | 
 | 
341,376  | 
 | 
 | 
14  | 
% | 
 | 
761,319  | 
 | 
 | 
11  | 
% | 
 | 
941,771  | 
 | 
 | 
12  | 
% | 
 
| Korea | 
201,290  | 
 | 
 | 
9  | 
% | 
 | 
468,226  | 
 | 
 | 
19  | 
% | 
 | 
731,783  | 
 | 
 | 
10  | 
% | 
 | 
1,466,624  | 
 | 
 | 
18  | 
% | 
 
| Europe and Israel | 
129,350  | 
 | 
 | 
6  | 
% | 
 | 
209,136  | 
 | 
 | 
9  | 
% | 
 | 
421,148  | 
 | 
 | 
6  | 
% | 
 | 
542,823  | 
 | 
 | 
7  | 
% | 
 
| Rest of Asia | 
84,351  | 
 | 
 | 
4  | 
% | 
 | 
84,466  | 
 | 
 | 
3  | 
% | 
 | 
271,956  | 
 | 
 | 
3  | 
% | 
 | 
334,147  | 
 | 
 | 
4  | 
% | 
 
| Total | 
$ | 
2,359,830  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
2,432,608  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
7,243,512  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
8,140,919  | 
 | 
 | 
100  | 
% | 
 
  
 | 
| Schedule of Revenues by Major Products | 
 The following is a summary of revenues by major product categories for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| (Dollar amounts in thousands) | 
Three Months Ended March 31, | 
 | 
Nine Months Ended March 31, | 
 
| 2024 | 
 | 
2023 | 
 | 
2024 | 
 | 
2023 | 
 
| Revenues: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Wafer Inspection | 
$ | 
987,709  | 
 | 
 | 
42  | 
% | 
 | 
$ | 
1,027,191  | 
 | 
 | 
42  | 
% | 
 | 
$ | 
3,164,391  | 
 | 
 | 
43  | 
% | 
 | 
$ | 
3,386,273  | 
 | 
 | 
42  | 
% | 
 
| Patterning | 
539,296  | 
 | 
 | 
23  | 
% | 
 | 
611,631  | 
 | 
 | 
25  | 
% | 
 | 
1,512,168  | 
 | 
 | 
21  | 
% | 
 | 
2,206,263  | 
 | 
 | 
27  | 
% | 
 
| Specialty Semiconductor Process | 
116,449  | 
 | 
 | 
5  | 
% | 
 | 
114,896  | 
 | 
 | 
5  | 
% | 
 | 
364,830  | 
 | 
 | 
5  | 
% | 
 | 
374,882  | 
 | 
 | 
5  | 
% | 
 
| PCB, Display and Component Inspection | 
68,332  | 
 | 
 | 
3  | 
% | 
 | 
69,495  | 
 | 
 | 
3  | 
% | 
 | 
216,794  | 
 | 
 | 
3  | 
% | 
 | 
312,582  | 
 | 
 | 
4  | 
% | 
 
| Services | 
590,461  | 
 | 
 | 
25  | 
% | 
 | 
529,124  | 
 | 
 | 
22  | 
% | 
 | 
1,715,670  | 
 | 
 | 
24  | 
% | 
 | 
1,578,418  | 
 | 
 | 
19  | 
% | 
 
| Other | 
57,583  | 
 | 
 | 
2  | 
% | 
 | 
80,271  | 
 | 
 | 
3  | 
% | 
 | 
269,659  | 
 | 
 | 
4  | 
% | 
 | 
282,501  | 
 | 
 | 
3  | 
% | 
 
| Total | 
$ | 
2,359,830  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
2,432,608  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
7,243,512  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
8,140,919  | 
 | 
 | 
100  | 
% | 
 
  
 | 
| Schedule of Long-Lived Assets by Geographic Region | 
 
Land, property and equipment, net by geographic region as of the dates indicated below were as follows: 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
 | 
As of | 
 | 
As of | 
 
| (In thousands) | 
March 31, 2024 | 
 | 
June 30, 2023 | 
 
| Land, property and equipment, net: | 
 | 
 | 
 | 
 
| United States | 
$ | 
701,223  | 
 | 
 | 
$ | 
672,561  | 
 | 
 
| Singapore | 
150,808  | 
 | 
 | 
150,989  | 
 | 
 
| Europe | 
129,824  | 
 | 
 | 
74,015  | 
 | 
 
| Israel | 
89,445  | 
 | 
 | 
92,815  | 
 | 
 
| Rest of Asia | 
34,978  | 
 | 
 | 
41,461  | 
 | 
 
| Total | 
$ | 
1,106,278  | 
 | 
 | 
$ | 
1,031,841  | 
 | 
 
  
 |